package com.cskaoyan.demo6.mapper;

import com.cskaoyan.demo6.bean.model.MarketCategory;
import com.cskaoyan.demo6.bean.model.MarketCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*@Description：
*@Author：BLUEBLANK
*@Date：2024/4/20  21:13
*/


    
public interface MarketCategoryMapper {
    long countByExample(MarketCategoryExample example);

    int deleteByExample(MarketCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketCategory record);

    int insertOrUpdate(MarketCategory record);

    int insertOrUpdateSelective(MarketCategory record);

    int insertSelective(MarketCategory record);

    List<MarketCategory> selectByExample(MarketCategoryExample example);

    MarketCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketCategory record, @Param("example") MarketCategoryExample example);

    int updateByExample(@Param("record") MarketCategory record, @Param("example") MarketCategoryExample example);

    int updateByPrimaryKeySelective(MarketCategory record);

    int updateByPrimaryKey(MarketCategory record);

    int updateBatch(List<MarketCategory> list);

    int updateBatchSelective(List<MarketCategory> list);

    int batchInsert(@Param("list") List<MarketCategory> list);
}